const express = require("express");
const router = express.Router();
const news = require("../controller/news");
//获取文章列表
router.get("/getNews", news.getNews);

//获取文章详情
router.get('/getNews/:id',news.getNewsDetail)
module.exports = router;
